<?php
$config = array(
	'admin' => array( 
		array(
			'field' => 'firstname',
			'label' => 'Firstname',
			'rules' => 'required'
		),
		array(
			'field' => 'lastname',
			'label' => 'Lastname',
			'rules' => 'required'
		),
		array(
			'field' => 'middlename',
			'label' => 'Middlename',
			'rules' => 'required'
		),
		array(
			'field' => 'age',
			'label' => 'Age',
			'rules' => 'required'
		),
		array(
			'field' => 'gender',
			'label' => 'Gender',
			'rules' => 'required'
		),
		array(
			'field' => 'baccalaureate',
			'label' => 'Baccalaureate',
			'rules' => 'required'
		),
		array(
			'field' => 'masters',
			'label' => '',
			'rules' => 'required'
		),
		array(
			'field' => 'licensure',
			'label' => '',
			'rules' => 'required'
		),
		array(
			'field' => 'emp_stat',
			'label' => '',
			'rules' => 'required'
		),
		array(
			'field' => 'position',
			'label' => '',
			'rules' => 'required'
		),
		array(
			'field' => 'work_exp',
			'label' => '',
			'rules' => 'required'
		)
	),
	'teach' => array(
		array(
			'field'	=>	'firstname',
			'label' =>	'Firstname',
			'rules' =>	'required'
		),
		array(
			'field'	=>	'lastname',
			'label' =>	'Lastname',
			'rules' =>	'required'
		),
		array(
			'field'	=>	'middlename',
			'label' =>	'Middlename',
			'rules' =>	''
		),
		array(
			'field'	=>	'age',
			'label' =>	'Age',
			'rules' =>	'numeric'
		),
		array(
			'field'	=>	'gender',
			'label' =>	'Gender',
			'rules' =>	'required'
		),
		array(
			'field'	=>	'baccalaureate',
			'label' =>	'Baccalaureate',
			'rules' =>	'required'
		),
		array(
			'field'	=>	'masters',
			'label' =>	'Masters/Doctorate',
			'rules' =>	'required'
		),
		array(
			'field'	=>	'employment_stat',
			'label' =>	'Employment Status',
			'rules' =>	'required'
		),
		array(
			'field'	=>	'admin_work_exp',
			'label' =>	'Admin Work Experience',
			'rules' =>	'required'
		),
		array(
			'field'	=>	'teaching_work_exp',
			'label' =>	'Teaching work experience',
			'rules' =>	'required'
		),
		array(
			'field'	=>	'licensure_exams_taken',
			'label' =>	'licensure exams taken',
			'rules' =>	'required'
		),
		array(
			'field'	=>	'subj_handled',
			'label' =>	'Subjects handled',
			'rules' =>	'required'
		)
	)
);